package cn.edu.zhku.citrusmonitor.person.user.service;

import java.util.List;

import cn.edu.zhku.citrusmonitor.domain.TbUser;

public interface UserService {
	public String addUser(TbUser user);

	public TbUser searchByPhone(String phone);

	public TbUser login(String phone, String password);

	public long getTotalCounts();
	
	public List<TbUser> getBeanList(int currentPage,long pageSize);

	public int modifyUser(TbUser user);

	public int deleteUser(String id);

	public TbUser getUser(String id);

	public List<TbUser> getUserByPhone(String phone);

	public long removeAll(String[] ids);

	//public String getUserId(TbUser user);
}
